<?php
$this->breadcrumbs=array(
	'Product Pictures'=>array('index'),
	'Create',
);

$this->menu=array(
	array('label'=>'List ProductPicture', 'url'=>array('index')),
	array('label'=>'Manage ProductPicture', 'url'=>array('admin')),
);
?>

<h1>Upload pictures <?php echo $this->_product->name;?></h1>

<?php
$model = new XUploadForm;
$this->widget('xupload.XUpload', array(
                    'url' => Yii::app()->createUrl("site/upload"),
                    'model' => $model,
                    'attribute' => 'file',
                    'multiple' => true,
));
?>